<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{listarSolicitudes.page1}" id="page1">
            <ui:html binding="#{listarSolicitudes.html1}" id="html1">
                <ui:head binding="#{listarSolicitudes.head1}" id="head1">
                    <ui:link binding="#{listarSolicitudes.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{listarSolicitudes.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{listarSolicitudes.form1}" id="form1">
                        <div style="left: 0px; top: 0px; position: absolute">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <h:panelGrid binding="#{listarSolicitudes.gridPanelContenedorTotal}" id="gridPanelContenedorTotal"
                            style="height: 48px; left: 48px; top: 96px; position: absolute" width="408">
                            <h:panelGrid binding="#{listarSolicitudes.gridPanelParaTituloYALert}" columns="2" id="gridPanelParaTituloYALert" width="600">
                                <ui:staticText binding="#{listarSolicitudes.titulo1}" id="titulo1"
                                    style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px" text="Listado de solicitudes"/>
                                <ui:alert binding="#{listarSolicitudes.alert1}" id="alert1"/>
                                <ui:hiddenField binding="#{listarSolicitudes.hiddenField1}" id="hiddenField1"/>
                            </h:panelGrid>
                            <ui:panelGroup binding="#{listarSolicitudes.groupPanelParaBotones}" id="groupPanelParaBotones">
                                <ui:button action="#{listarSolicitudes.botonRegresar_action}" binding="#{listarSolicitudes.botonRegresar}" id="botonRegresar"
                                    mini="true" primary="true" style="width: 72px" text="Regresar"/>
                                <ui:button action="#{listarSolicitudes.botonCerrar_action}" binding="#{listarSolicitudes.botonCerrar}" id="botonCerrar"
                                    mini="true" primary="true" style="width: 71px" text="Cerrar"/>
                                <ui:button action="#{listarSolicitudes.imprimirSolicitud_action}" binding="#{listarSolicitudes.imprimirSolicitud}"
                                    id="imprimirSolicitud" mini="true" primary="true" style="height: 16px; width: 66px" text="Imprimir"/>
                            </ui:panelGroup>
                            <ui:table augmentTitle="false" binding="#{listarSolicitudes.table1}" clearSortButton="true" id="table1" lite="true"
                                paginateButton="true" paginationControls="true" style="width: 1086px" title="Solicitudes" width="813">
                                <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table2");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table2");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table2");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table2");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table2");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table2");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table2:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table2:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                                <ui:tableRowGroup binding="#{listarSolicitudes.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                    sourceData="#{listarSolicitudes.sct0022DataProvider}" sourceVar="currentRow">
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn15}" headerText="Solicitud" id="tableColumn15" sort="NMROSLCTUD" width="50">
                                        <ui:hyperlink action="#{listarSolicitudes.linkNumSol_action}" binding="#{listarSolicitudes.linkNumSol}" id="linkNumSol"
                                            style="font-size: 10px" text="#{currentRow.value['NMROSLCTUD']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn31}" headerText="NIT" id="tableColumn31" sort="NIT">
                                        <ui:staticText binding="#{listarSolicitudes.staticText29}" id="staticText29" style="font-size: 10px" text="#{listarSolicitudes.nitConversionDecimal}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn32}" headerText="Monto" id="tableColumn32" sort="MNTO">
                                        <ui:staticText binding="#{listarSolicitudes.staticText30}" id="staticText30" style="font-size: 10px" text="#{listarSolicitudes.montoConversionADecimal}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn30}" headerText="Nombre" id="tableColumn30" sort="NMBRE">
                                        <ui:staticText binding="#{listarSolicitudes.staticText28}" id="staticText28" style="font-size: 10px" text="#{listarSolicitudes.nombreCompleto}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn18}" headerText="Producto" id="tableColumn18" sort="DSCRPCION">
                                        <ui:staticText binding="#{listarSolicitudes.staticText16}" id="staticText16" style="font-size: 10px" text="#{currentRow.value['DSCRPCION']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn20}" headerText="Sublinea" id="tableColumn20" sort="DSCRPCIONSBLNEA">
                                        <ui:staticText binding="#{listarSolicitudes.staticText18}" id="staticText18" style="font-size: 10px" text="#{currentRow.value['DSCRPCIONSBLNEA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn22}" headerText="Tipo solicitud" id="tableColumn22" sort="DSCRPCIONTPOSLCTUD">
                                        <ui:staticText binding="#{listarSolicitudes.staticText20}" id="staticText20" style="font-size: 10px" text="#{currentRow.value['DSCRPCIONTPOSLCTUD']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn2}" headerText="Departamento" id="tableColumn2" sort="NMBREDPRTMNTO">
                                        <ui:staticText binding="#{listarSolicitudes.staticText2}" id="staticText2" style="font-size: 10px" text="#{currentRow.value['NMBREDPRTMNTO']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn3}" headerText="Ciudad" id="tableColumn3" sort="NMBRECDAD">
                                        <ui:staticText binding="#{listarSolicitudes.staticText3}" id="staticText3" style="font-size: 10px" text="#{currentRow.value['NMBRECDAD']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn1}" headerText="Agencia" id="tableColumn1" sort="NMBREAGNCIA">
                                        <ui:staticText binding="#{listarSolicitudes.staticText1}" id="staticText1" style="font-size: 10px" text="#{currentRow.value['NMBREAGNCIA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn24}" headerText="Digitado" id="tableColumn24" sort="ACTVO" width="50">
                                        <ui:staticText binding="#{listarSolicitudes.staticText22}" id="staticText22" style="font-size: 10px" text="#{listarSolicitudes.digitadoTraduccion}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn25}" headerText="Fecha de radicacion" id="tableColumn25"
                                        sort="FCHARGSTROSLCTUD" width="50">
                                        <ui:staticText binding="#{listarSolicitudes.staticText23}" id="staticText23" style="font-size: 10px" text="#{currentRow.value['FCHARGSTROSLCTUD']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn5}" headerText="Total dias" id="tableColumn5" sort="TOTALDIAS">
                                        <ui:staticText binding="#{listarSolicitudes.staticText5}" id="staticText5" style="font-size: 10px" text="#{currentRow.value['TOTALDIAS']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn33}" headerText="Etapa" id="tableColumn33" sort="CDGOETPA">
                                        <ui:staticText binding="#{listarSolicitudes.staticText31}" id="staticText31" style="font-size: 10px" text="#{currentRow.value['CDGOETPA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn6}" headerText="Fecha etapa" id="tableColumn6" sort="FCHAETPA">
                                        <ui:staticText binding="#{listarSolicitudes.staticText6}" id="staticText6" style="font-size: 10px" text="#{currentRow.value['FCHAETPA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn7}" headerText="Dias etapa" id="tableColumn7" sort="DIASETAPA">
                                        <ui:staticText binding="#{listarSolicitudes.staticText7}" id="staticText7" style="font-size: 10px" text="#{currentRow.value['DIASETAPA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn8}" headerText="Usuario" id="tableColumn8" sort="USUARIO">
                                        <ui:staticText binding="#{listarSolicitudes.staticText8}" id="staticText8" style="font-size: 10px" text="#{currentRow.value['USUARIO']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn27}" headerText="Estado" id="tableColumn27"
                                        sort="DSCRPCIONESTDOSLCTUD" width="50">
                                        <ui:staticText binding="#{listarSolicitudes.staticText25}" id="staticText25" style="font-size: 10px" text="#{currentRow.value['DSCRPCIONESTDOSLCTUD']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn4}" headerText="Mercado" id="tableColumn4" sort="DSCRPCIONMRCDO">
                                        <ui:staticText binding="#{listarSolicitudes.staticText4}" id="staticText4" style="font-size: 10px" text="#{currentRow.value['DSCRPCIONMRCDO']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{listarSolicitudes.tableColumn34}" id="tableColumn34" width="30">
                                        <ui:button action="#{listarSolicitudes.botonReporte_action}" binding="#{listarSolicitudes.botonReporte}" disabled="true"
                                            id="botonReporte" mini="true" primary="true" text="Reporte"/>
                                    </ui:tableColumn>
                                </ui:tableRowGroup>
                            </ui:table>
                        </h:panelGrid>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
